package com.imyours.model;

/**
 * 好友实体类
 * 
 * @author SLevenc
 * 
 */
public class Friend {

	/**
	 * 好友对应的主键
	 */
	private long id;
	/**
	 * 好友的名字
	 */
	private String name = null;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("id=").append(this.id).append("\n");
		sb.append("name=").append(this.name).append("\n");
		return sb.toString();
	}
}
